<?php
/**
 * warning class
 *
 * @author raphael seebacher <raphasee@ee.ethz.ch>
 * @version 0.01
 */
class warning extends tds_exception {
    protected $warning;

    public function __construct($warning_msg) {
        $this->warning = Array(
          'status' => 'warning',
          'msg' => $warning_msg,
        );
    }

    public function getResponse() {
        return $this->warning;
    }
}
?>